/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aplikasi.com.interfac;

import aplikasi.com.entity.Karyawan;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Henfryandie
 */
public interface interKaryawan {

    Karyawan insertKar(Karyawan o) throws SQLException;

    void update(Karyawan o) throws SQLException;

    void delete(String nama) throws SQLException;

    List<Karyawan> getAll() throws SQLException;

    Karyawan getByKaryawan(String o) throws SQLException;

}
